package com.icloud.system.api.feign;

import com.icloud.common.core.api.CommonResult;
import com.icloud.system.api.dto.SaveAppOperationLogDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

@FeignClient(value = "icloud-system", contextId = "appOperationLogFeignClient", path = "/internal/appOperationLog")
public interface AppOperationLogFeignClient {
    /**
     * 添加App操作日志
     */
    @RequestMapping(value = "/add", method = RequestMethod.POST)
    @ResponseBody
    CommonResult<Void> saveAppOperationLog(@RequestBody SaveAppOperationLogDto dto);
}
